<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ECRMS.Biz.Dom" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:29485/Services/Service.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost:29485/Services/Service.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost:29485/Services/Service.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/ECRMS.Common" />
  <xs:import schemaLocation="http://localhost:29485/Services/Service.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/System.Data.Linq" />
  <xs:complexType name="ArrayOfEmployer">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Employer" nillable="true" type="tns:Employer" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfEmployer" nillable="true" type="tns:ArrayOfEmployer" />
  <xs:complexType name="Employer">
    <xs:sequence>
      <xs:element minOccurs="0" name="UserRefId" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Employer" nillable="true" type="tns:Employer" />
  <xs:complexType name="CtUser">
    <xs:sequence>
      <xs:element minOccurs="0" name="CorporationRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StructureName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StructureRefId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="UserRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="UserTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtUser" nillable="true" type="tns:CtUser" />
  <xs:complexType name="ArrayOfCtStructure">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CtStructure" nillable="true" type="tns:CtStructure" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCtStructure" nillable="true" type="tns:ArrayOfCtStructure" />
  <xs:complexType name="CtStructure">
    <xs:sequence>
      <xs:element minOccurs="0" name="CorporationRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StructureRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="StrutureName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtStructure" nillable="true" type="tns:CtStructure" />
  <xs:complexType name="ArrayOfCtEmployee">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CtEmployee" nillable="true" type="tns:CtEmployee" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCtEmployee" nillable="true" type="tns:ArrayOfCtEmployee" />
  <xs:complexType name="CtEmployee">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FunctionNotes" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Functions" nillable="true" type="q1:ArrayOfint" />
      <xs:element minOccurs="0" name="Gender" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserInfo" nillable="true" type="tns:CtUser" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtEmployee" nillable="true" type="tns:CtEmployee" />
  <xs:complexType name="ArrayOfCtIndexGroup">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CtIndexGroup" nillable="true" type="tns:CtIndexGroup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCtIndexGroup" nillable="true" type="tns:ArrayOfCtIndexGroup" />
  <xs:complexType name="CtIndexGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="CorpIndexGroupRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="CorpTradeId" type="xs:int" />
      <xs:element minOccurs="0" name="CorpTradeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CorporationRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="IndexGroupName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IndexGroupRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="Score" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="StatementYear" type="xs:int" />
      <xs:element minOccurs="0" name="StatusId" type="xs:int" />
      <xs:element minOccurs="0" name="TradeId" type="xs:int" />
      <xs:element minOccurs="0" name="TradeName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtIndexGroup" nillable="true" type="tns:CtIndexGroup" />
  <xs:complexType name="ArrayOfCtIndex">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CtIndex" nillable="true" type="tns:CtIndex" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCtIndex" nillable="true" type="tns:ArrayOfCtIndex" />
  <xs:complexType name="CtIndex">
    <xs:sequence>
      <xs:element minOccurs="0" name="AssignedUserName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AssignedUserRefId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="CorpIndexGroupRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="CorpIndexRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" type="ser:guid" />
      <xs:element minOccurs="0" name="IndexGroupDetailRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="InputTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="InputTypeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MaxValue" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="MinValue" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Note" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ParentID" type="ser:guid" />
      <xs:element minOccurs="0" name="Percentage" type="xs:decimal" />
      <xs:element minOccurs="0" name="Score" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Status" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtIndex" nillable="true" type="tns:CtIndex" />
  <xs:complexType name="ArrayOfCtIndexProcess">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CtIndexProcess" nillable="true" type="tns:CtIndexProcess" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCtIndexProcess" nillable="true" type="tns:ArrayOfCtIndexProcess" />
  <xs:complexType name="CtIndexProcess">
    <xs:sequence>
      <xs:element minOccurs="0" name="CorpIndexGroupRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="CorpIndexRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="ID" type="ser:guid" />
      <xs:element minOccurs="0" name="InputTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="InputTypeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Level" type="xs:int" />
      <xs:element minOccurs="0" name="MaxValue" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="MinValue" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Name1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name3" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name4" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name5" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name6" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name7" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name8" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name9" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Note" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ParentID" type="ser:guid" />
      <xs:element minOccurs="0" name="Score" nillable="true" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtIndexProcess" nillable="true" type="tns:CtIndexProcess" />
  <xs:complexType name="ArrayOfCtIndexResult">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CtIndexResult" nillable="true" type="tns:CtIndexResult" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCtIndexResult" nillable="true" type="tns:ArrayOfCtIndexResult" />
  <xs:complexType name="CtIndexResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="AllTradeScore" type="xs:decimal" />
      <xs:element minOccurs="0" name="IndexGroupChildNodeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IndexGroupChildNodeRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="IndexGroupName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IndexGroupRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="SelfScore" type="xs:decimal" />
      <xs:element minOccurs="0" name="TradeScore" type="xs:decimal" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/ECRMS.Common" minOccurs="0" name="Type" type="q2:IndexResultTypeEnum" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtIndexResult" nillable="true" type="tns:CtIndexResult" />
  <xs:complexType name="ArrayOfCtReport">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CtReport" nillable="true" type="tns:CtReport" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCtReport" nillable="true" type="tns:ArrayOfCtReport" />
  <xs:complexType name="CtReport">
    <xs:sequence>
      <xs:element minOccurs="0" name="AssignedUserName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AssignedUserRefId" type="ser:guid" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Content" nillable="true" type="q3:Binary" />
      <xs:element minOccurs="0" name="CorporationRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="IsDisabled" type="xs:boolean" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReportPartRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="SeqId" type="xs:int" />
      <xs:element minOccurs="0" name="StatusId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtReport" nillable="true" type="tns:CtReport" />
  <xs:complexType name="ArrayOfCtPost">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CtPost" nillable="true" type="tns:CtPost" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCtPost" nillable="true" type="tns:ArrayOfCtPost" />
  <xs:complexType name="CtPost">
    <xs:sequence>
      <xs:element minOccurs="0" name="CategoryId" type="xs:int" />
      <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Content" nillable="true" type="q4:Binary" />
      <xs:element minOccurs="0" name="CreateDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="CreateUserRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="CreatorName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsDisabled" type="xs:boolean" />
      <xs:element minOccurs="0" name="PostRefId" type="ser:guid" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CtPost" nillable="true" type="tns:CtPost" />
</xs:schema>